package service.impl;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import pojo.Customer;
import service.CustomerManager;

public class CustomerManagerImplMock implements CustomerManager {
	private List<Customer> list=new ArrayList<Customer>();
	public CustomerManagerImplMock() {
		Customer c=new Customer(null, "tom", 345.67, true, new Date(), new String[]{"basket","football"});
		list.add(c);
	}
	@Override
	public int addCustomer(Customer c) {
		list.add(c);
		return 1;
	}

	@Override
	public List<Customer> findAllCustomers() {
		// TODO Auto-generated method stub
		return list;
	}

}
